package com.example.service;

import com.example.pojo.dto.HeadDto;
import com.example.pojo.entity.Head;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface HeadService {
    void insert(HeadDto headDto);

    void updateById(Head head);

    void removeById(Integer id);

    void removeBatchByIds(List<Integer> ids);

    List<Head> list();

    HeadDto getById(Integer id);

    PageInfo<HeadDto> selectByPage(Integer pageNum, Integer pageSize, String name, String title, String museum, String activity);
}
